/* 声明字体图标 这里一定要注意路径的变化 */
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?eh4xmr');
    src:  url('../fonts/icomoon.eot?eh4xmr#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?eh4xmr') format('truetype'),
      url('../fonts/icomoon.woff?eh4xmr') format('woff'),
      url('../fonts/icomoon.svg?eh4xmr#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}
.fl {
    float: left;
}

.fr{
    float: right;
}

.style_red{
    color: #c81623;
}
/* 快捷导航模块 */
.shortcut{
    height: 31px;
    background-color: #f1f1f1;
    line-height: 31px;
}
.shortcut ul li{
    float: left;
}

/* 巧用 li 制作隔栏 选取偶数列的 li 然后用 li 来挤开两旁的文字  */
.shortcut .fr ul li:nth-child(2n){
    margin: 9px 15px;
    width: 1px;
    height: 12px;
    background-color: #666666;
}

.arrow-icon::after{
    content: '\ea50';
    font-family: 'icomoon';
    margin-left: 3px;
}
/* header头部制作 */
.header{
    position: relative;
    height: 105px;
}
.header .logo {
    position: absolute;
    top: 25px;
    width: 219px;
    height: 55px;
}
.header .logo a{
    display: block;
    width: 219px;
    height: 55px;
    background: url(../images/pinyou.png) no-repeat;
    /* 将可视文字清除 */
    font-size: 0;
}
/* search搜索模块 */
.search{
    position: absolute;
    top: 25px;
    left: 345px;
    width: 540px;
    height: 37px;
    border: 2px solid #b1191a;
}
.search input{
    float: left;
    width: 456px;
    height: 33px;
    padding-left:5px;
}
.search button{
    float: right;
    width: 80px;
    height: 33px;
    background-color: #b1191a;
    font-size: 16px;
    color: #faf4f4;
}
/* hotwords 模块 */
.hotwords{
    position: absolute;
    top: 67px;
    left: 345px;
}
.hotwords a{
    margin: 0 10px;
}
/* 购物车模块 */
.shopcar{
    position: absolute;
    top: 25px;
    right: 66px;
    width: 140px;
    height: 35px;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
    font-size: 12px;
    line-height: 35px;
    color: #666666;
    text-align: center;
}
.shopcar::before{
    content: '\e904';
    font-family: 'icomoon';
    color: #df7070;
    margin-right: 5px;
}
.shopcar::after{
    content: '\e902';
    font-family: 'icomoon';
    margin-left: 10px;
}
.shopcar .count{
    position: absolute;
    top:-5px;
    left: 95px;
    /* 将这个没有给宽度的盒子内部padding撑开一个宽度 后续给该盒子添加内容时自动撑开 */
    padding: 0 5px;
    height: 15px;
    line-height: 15px;
    border-radius: 8px 8px 8px 0;
    background-color: #e60012;
    color: #fff;
}

/* 底部模块制作 */
.footer{
    padding-top: 30px;
    height: 415px;
    background-color: #f5f5f5;
}
.mod_service {
    height: 80px;
    border-bottom: 2px solid #ededed;
}
.mod_service ul li{
    float: left;
    padding-left: 38px;
    width: 240px;
    height: 50px;
}
.mod_service ul li h5{
    float: left;
    margin-right: 7px;
    width: 50px;
    height: 50px;
}
.service_txt{
    margin: 7px 0;
}
.service_txt h4{
    font-size: 14px;
    color: #333333;
}
.service_txt p{
    font-size: 12px;
    color: #666666;
}
/* 精灵图技术 */
.mod_service .icons1{
    background: url(../images/icons.png) no-repeat -252px -2px;
}
.mod_service .icons2{
    background: url(../images/icons.png) no-repeat -254px -53px;
}
.mod_service .icons3{
    background: url(../images/icons.png) no-repeat -256px -106px;
}
.mod_service .icons4{
    background: url(../images/icons.png) no-repeat -257px -157px;
}
.mod_service .icons5{
    background: url(../images/icons.png) no-repeat -257px -208px;
}
/* mod_help模块制作 */
.mod_help{
    padding-top: 20px;
    padding-left: 50px;
    height: 188px;
    border-bottom: 2px solid #ededed;
}
.mod_help dl{
    float: left;
    width: 200px;
}
.mod_help dl:last-child{
    width: 100px;
    text-align: center;
}
.mod_help dl dt{
    margin-bottom: 10px;
    font-size: 16px;
}
/* mod_copyright模块制作 */
.mod_copyright{
    padding-top: 20px;
    height: 120px;
}
.mod_copyright ul{
    margin: 0 109px;
}
.mod_copyright ul li{
    float: left;
}
.mod_copyright ul li:nth-child(2n){
    margin: 3px 15px;
    width: 1px;
    height: 12px;
    background-color: #999999;
}
.copyright_messages{
    margin-top: 15px;
    text-align: center;
}
.copyright_messages p{
    line-height: 22px;
    color: #666666;
}
